//
//  ALStatisticsKey.h
//  Amily
//
//  Created by 张鹏 on 15/4/23.
//  Copyright (c) 2015年 Amily. All rights reserved.
//

/**headerView点击类别*/
typedef NS_ENUM(NSInteger, PageType) {
    PageTypeUniverse  = 0,// 通用
    PageTypeLeader    = 1,// 领导力
    PageTypeOperation = 2,// 运营
    PageTypeHr        = 3,// 人力
    PageTypeFinance   = 4,// 财务
    PageTypeLec       = 5 // 精益
};

/**团队管理*/
typedef NS_ENUM(NSInteger, TeamManagerType) {
    TeamManagerTypeData      = 0,// 数据统计
    TeamManagerTypeCourse    = 1,// 课程管理
};

/**搜索*/
typedef NS_ENUM(NSInteger, SearchType) {
    SearchTypeSearch      = 0,// 搜索页面
    SearchTypeResult      = 1,// 搜索结果
};

/**学习列表枚举*/
typedef NS_ENUM(NSInteger,StudyType) {
    StudyTypeRequired     = 0,// 必修
    StudyTypeOptional     = 1 // 选修
};

/**轮播图跳转*/
typedef enum : NSUInteger {
    BannerTypeLesson       = 0, // 课程
    BannerTypePoint        = 1 // 知识点
} BannerType;







typedef NS_ENUM(NSInteger, ALFavoriteActionType) {// 收藏行为
    FavoriteActionAdd = 1, //添加
    FavoriteActionCancel = 2
};


typedef NS_ENUM(NSInteger, ALFavoriteCategoryType) {// 收藏类型 产品，门店
    FavoriteCategoryProduct = 1,
    FavoriteCategoryShop    = 2,
    FavoriteCategoryMaster  = 3,
    FavoriteCategorySpecial = 5
};

typedef NS_ENUM(NSInteger, MZSharePlatform) { //分享平台  新浪,QQ,微信,朋友圈,QQ空间
    kSharePlatformSina ,
    kSharePlatformQQ,
    kSharePlatformWX,
    kSharePlatformTimeLine,
    kSharePlatformQZone
};

typedef NS_ENUM(NSInteger, ALShareContent) { //分享内容  专题，产品，店铺，技师
    ShareContentAlbum = 1,
    ShareContentProduct,
    ShareContentShop,
    ShareContentMaster,
};



typedef NS_ENUM(NSInteger, ALAmilyWebViewType) {// Web页面 ，门店故事，技师简介
    kWebViewTypeShopStory = 0,
    kWebViewTypeTechBrief,
    kWebViewTypeShareCode,
    kWebViewTypePass,
    kWebViewTypeAdvert,
    kWebViewTypeStartAppImage,
    kWebViewTypePayCardSuccess
};

typedef NS_ENUM(NSInteger, ALWebStoryType) {// Web页面 ，门店故事，技师简介
    WebStoryShop = 0,
    WebStoryProduct,
    WebStoryMaster,
    WebUserAgreement
};




typedef NS_ENUM(NSInteger, ALNavigationBackActionType) {// 导航类型

    kNavigationBackAction = 0,
    kNavigationFiter = 1,
    kNavigationWebBackType = 2,
    kNavigationCity = 3,
    kNavigationSearch = 4,
    kNavigationRootVc = 5,
    kNavigationPersonCenterVc = 6,
    kNavigationDismissPicDetailVc = 7,
    kNavigationLoginBack = 8
};

typedef NS_ENUM(NSInteger, ALCouponPageType) {// 优惠券页面
    kCouponMePage,
    kCouponIndentPage,
    kCouponWebPage
};

typedef NS_ENUM(NSInteger, ALPayOrderMethod) {// 支付方式
    PayOrderAilPay = 1,
    PayOrderWX = 2,
};


typedef NS_ENUM(NSInteger, ALCouponType) {// 优惠券类型
    kCouponPrime = 1,//代金券
    kCouponRate  = 2,//折扣
    kCouponNone  = 3,//免单
};




typedef NS_ENUM(NSInteger, ALRemoteNotificationType) {
    kRemoteNotificationExcellentProduct  = 1,//明星产品
    kRemoteNotificationShop              = 2,// 店铺
    kRemoteNotificationAlbum             = 3,//专题
    kRemoteNotificationH5                = 4,//H5
    
    kRemoteNotificationNormalProduct     = 5,// 普通产品
    kRemoteNotificationExcellentMaster   = 6,//明星技师
    kRemoteNotificationNormalMaster      = 7,//普通技师
    
    kRemoteNotificationCoupon            = 8//优惠券
    
};

typedef NS_ENUM(NSInteger, ALSortType) {// 排序
    kSortMultiple = 0,
    kSortPriceAscending = 1,
    kSortPriceDescending = 2,
    kSortSalesVolumeDescending = 3,//销量降序
    kSortSalesVolumeAscending = 4,
    kSortDistance = 5,
    kSortComment = 10
};


typedef NS_ENUM(NSInteger, ALEpisodeDemandPageType) {
    kEpisodeDemandNormalProduct     = 1,// 普通产品
    kEpisodeDemandShop              = 2,// 店铺
    kEpisodeDemandAlbum             = 3,//专题
    kEpisodeDemandH5                = 4,//H5
    
    kEpisodeDemandCoupon            = 5,//卡券
    kEpisodeDemandNormalMaster      = 6,//普通技师
    kEpisodeDemandUserCenter        = 7,//用户中心
    
    kEpisodeDemandExcellentProduct  = 8,//明星产品
    kEpisodeDemandExcellentMaster   = 9//明星技师
};



typedef NS_ENUM(NSInteger, ALWebDemandPageType) {
    kWebDemandPerson            = 1,
    kWebDemandShare             = 2,
    kWebDemandProductFavorite   = 3,
    kWebDemandShopFavorite      = 4,
    kWebDemandCoupon            = 5,
    kWebDemandAMILYPass         = 6,
    kWebDemandAddress           = 7,
    kWebDemandOffineIndentList  = 8,
    kWebDemandUnpay             = 9,
    kWebDemandPayed             = 10,
    kWebDemandFinished          = 11,
    

    kWebDemandProduct           = 12,
    kWebDemandShop              = 13,
    kWebDemandAlbum             = 14,
};


typedef NS_ENUM(NSInteger,ALProductType)
{
    ProductTypeHair = 1,
    ProductTypeNail = 2,
    ProductTypeSPA  = 4,
    ProductTypeBody = 5
};

typedef NS_ENUM(NSInteger, ALHomeRequestType) {//首页请求类型
    HomeRequestTypeAll              = 0,
    HomeRequestTypeHair             = 1,
    HomeRequestTypeNails            = 2,
    HomeRequestTypeSPA              = 4,
    HomeRequestTypeBody             = 5,
    HomeRequestTypeMaster           = 10,
    HomeRequestTypeExcellent        = 15
};

typedef NS_ENUM(NSInteger, ALShopInfoRequestType) {//店铺相关
    ShopInfoRequestDataType       = 1,
    ShopInfoRequestProducts       = 2,
    ShopInfoRequestMasters        = 3,
    ShopInfoRequestComments       = 4,
};

typedef NS_ENUM(NSInteger, ALBookTimeType) {//预约时间请求类型
    BookTimeProduct      = 2,
    BookTimeMaster       = 3,
};


typedef NS_ENUM(NSInteger, ALOrderActionMethod) {//订单的action 动作
    OrderActionCreate       = 1,
    OrderActionGetOne       = 2,
    OrderActionGetList      = 3,
    OrderActionDelete       = 4,
    OrderActionApplyReimburse = 5,
};


typedef NS_ENUM(NSInteger, ALCreateOrderAssignMasterType) {//生成订单type 是否分配技师
    CreateOrderAssignMaster       = 1,
    CreateOrderRandomMaster       = 2
};

typedef NS_ENUM(NSInteger, ALOrderDetailType) {//订单的 类型
    OrderDetailNormalPay       = 1,
    OrderDetailAmilyPay        = 2
};

typedef NS_ENUM(NSInteger, ALMasterDetailType) {//技师的action 动作
    MasterDetailData       = 1,
    MasterDetailProducts   = 2,
    MasterDetailComments   = 4
};
typedef NS_ENUM (NSInteger, ALCollectType) {  // 收藏分类
    CollectTypeShop = 0,
    CollectTypeProduct= 1,
    CollectTypeMaster = 2,
    CollectTypeSpecial = 3
};

typedef NS_ENUM (NSInteger, ALCommentType) {  // 评论分类
    CommentTypeProduct = 1,
    CommentTypeShop    = 2,
    CommentTypeMaster  = 3
};


typedef NS_ENUM (NSInteger, ALPayOrderPageType) {  // 从何处到支付页面

    PayOrderPageNormalProduct = 0,
    PayOrderPageExcellentProduct = 1,
    PayOrderPageUnpay       = 2,
    PayOrderPageAmilyPay    = 3,
    PayOrderPageWeb         = 4,
    PayOrderPageGroup       = 5
};


typedef NS_ENUM (NSInteger, ALResponsePageType) {  
    ResponsePageCommon          = 1,
    ResponsePageHome            = 2,
    ResponsePageSearch          = 3,
    ResponsePageShopProducts    = 4,
    ResponsePageOrder           = 5,
    ResponsePageFavoriteMaster  = 6,
    ResponsePageFavoriteProduct = 7,
    ResponsePageFavoriteShop    = 8,
    ResponsePageAround          = 9,
    ResponsePageShopOffline     = 10,
    ResponsePageMasterOffline   = 11,
    ResponsePageShopEvents      = 12,
    ResponsePageNearest         = 13,
    ResponsePageApplyOrderEvents = 14,
    ResponsePageFavoriteArticle    = 15,
    ResponsePageArticleList     = 16
};

typedef NS_ENUM (NSInteger, ALResponseCode) {  // 返回码
    ResponseCodeAuthCode             = 101,
    ResponseCodeAlreadyBind          = 105,
    ResponseCodeAlreadyBindOther     = 106,
    ResponseCodeCouponIdError        = 210,
    ResponseCodeCouponIdRepeat        = 211,
    ResponseCodeExchangeCodeError     = 214,
    ResponseCodeExchangeCodePass        = 216,
    ResponseCodeExchangeCodeTimesEnd    = 217,//内购次数没了
    ResponseCodeExchangeCodePassLevelLimit  = 218
};


typedef NS_ENUM (NSInteger, ALPayResponseCode) {  // 返回码
    PayResponseCodeOverdue              = 271,
    PayResponseCodeRepeatGroup          = 272,
    PayResponseCodeRepeatAppoint        = 274,
    PayResponseCodeSellOver             = 276,
};

typedef NS_ENUM (NSInteger, ALUserDataPageType) {  // 返回码
    UserDataPageNick            = 1,
    UserDataPageName            = 2,
    UserDataPageEmail           = 3
};

typedef NS_ENUM (NSInteger, ALExcellentSortType) { // 精选 排序
    SortDefault = 0,
    SortPriceLowest     = 1,
    SortPriceHighest     = 2,
    SortSales     = 3,
    SortDistance     = 5
    
//    1、0 综合排序; 2、1价格升序；3、2价格降序；4、3销量降序；5、 4销量升序； 6、5 距离由近到远；7、6 距离由远及近； 默认为综合排序
};

